package com.first.agent.common;
/*
响应数据实体类封装
 */
public class R<T> {
    private Integer code;//返回的状态码 0 200 400 401 500 501 502
    private String msg;//返回的提示信息
    private T data;//返回的数据： map  List  entity

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
